<!DOCTYPE html>
<html>
    <head>
        <title>Issue 5177: Allow colors to be changed using Up/Down keys</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link href="../../_common/testcase.css" type="text/css" rel="stylesheet"/>
        <style type="text/css">
            #element1 {
                width: 7em;
                height: 7em;
                background: #99AAFF;
            }
        </style>
    </head>
    <body>
        <h1><a href="http://code.google.com/p/fbug/issues/detail?id=5177">Issue 5177</a>: Allow colors to be changed using Up/Down keys</h1>
        <div>
            <section id="content">
                <div id="element1"></div>
            </section>
            <section id="description">
                <h3>Steps to reproduce</h3>
                <ol>
                    <li>Inspect the blue <code>&lt;div&gt;</code> above.</li>
                    <li>Switch to the <em>Style</em> side panel.</li>
                    <li>Click on the value of the <code>background</code> property to start inline editing.</li>
                    <li>
                        Enter a value of "#9af ", and press <code class="key">up</code>/<code class="key">down</code> randomly with different selections.<br/>
                        <span class="ok">&rArr; The value and selection should match current behavior</span>
                    </li>
                    <li>
                        Enter the following values, press <code class="key">up</code>/<code class="key">down</code> randomly with the cursor at random positions, and verify that the resulting value and selection matches current behavior:
                        <ul>
                            <li>"#9af "</li>
                            <li>"rgba(1,3, 9,0)"</li>
                            <li>"hsla(3,30%,9%,0"</li>
                        </ul>
                    </li>
                </ol>
                <h3>Expected Results</h3>
                <ul>
                    <li>
                        If should be possible to in-/decrement different parts of colors,
                        in different amounts depending on <code class="key">Ctrl</code> or
                        <code class="key">Shift</code> or no modifier being pressed together
                        with <code class="key">Up</code>/<code class="key">Down</code>.
                    </li>
                    <li>
                        When several hex colors are selected, all of them should be in-/decremented.
                    </li>
                </ul>
            </section>
            <footer>Simon Lindholm, simon.lindholm10@gmail.com</footer>
        </div>
    </body>
</html>
